package com.brainshare.system.mapper;

import java.util.List;
import com.brainshare.system.domain.SysBuriedPointResult;
import com.brainshare.system.domain.query.BuriedPointQuery;
import com.brainshare.system.domain.vo.LoginDetailVO;
import com.brainshare.system.domain.vo.LoginSumVO;
import com.brainshare.system.domain.vo.StatisticsAnDetailVO;
import com.brainshare.system.domain.vo.StatisticsShareDetailVO;

/**
 * 埋点结果Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-25
 */
public interface SysBuriedPointResultMapper 
{
    /**
     * 查询埋点结果
     * 
     * @param id 埋点结果主键
     * @return 埋点结果
     */
    public SysBuriedPointResult selectSysBuriedPointResultById(Long id);


    /**
     * 获取注册汇总
     * @param buriedPointQuery
     * @return
     */
    LoginSumVO getLoginSum(BuriedPointQuery buriedPointQuery);

    /**
     * 获取注册明细
     * @param buriedPointQuery
     * @return
     */
    List<LoginDetailVO> getLoginDetailList(BuriedPointQuery buriedPointQuery);

    /**
     * 获取筛查完成总人数
     * @param buriedPointQuery
     * @return
     */
    Long getAnCompleteSum(BuriedPointQuery buriedPointQuery);

    /**
     * 查询筛查详情
     * @param buriedPointQuery
     * @return
     */
    List<StatisticsAnDetailVO> getAnDetailList(BuriedPointQuery buriedPointQuery);

    /**
     * 获取分享汇总
     * @param buriedPointQuery
     * @return
     */
    Long getShareSum(BuriedPointQuery buriedPointQuery);

    /**
     * 获取分享明细
     * @param buriedPointQuery
     * @return
     */
    List<StatisticsShareDetailVO> getShareDetailList(BuriedPointQuery buriedPointQuery);

    /**
     * 查询埋点结果列表
     * 
     * @param sysBuriedPointResult 埋点结果
     * @return 埋点结果集合
     */
    public List<SysBuriedPointResult> selectSysBuriedPointResultList(SysBuriedPointResult sysBuriedPointResult);

    /**
     * 批量新增埋点结果
     * @param sysBuriedPointResultList
     * @return
     */
    public int batchInsertSysBuriedPointResult(List<SysBuriedPointResult> sysBuriedPointResultList);

    /**
     * 新增埋点结果
     *
     * @param sysBuriedPointResult 埋点结果
     * @return 结果
     */
    public int insertSysBuriedPointResult(SysBuriedPointResult sysBuriedPointResult);

    /**
     * 修改埋点结果
     * 
     * @param sysBuriedPointResult 埋点结果
     * @return 结果
     */
    public int updateSysBuriedPointResult(SysBuriedPointResult sysBuriedPointResult);

    /**
     * 删除埋点结果
     * 
     * @param id 埋点结果主键
     * @return 结果
     */
    public int deleteSysBuriedPointResultById(Long id);

    /**
     * 批量删除埋点结果
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBuriedPointResultByIds(Long[] ids);
}
